package com.baowenli.pojo;

import java.util.Date;


public class Worker {
    private Integer workerId;

    private String role;

    private String username;

    private String password;

    private String name;

    private String gender;

    private String phone;


    private String address;

    private Date createTime;
    private Integer workId;
    private Integer roomInfoId;

    public Worker() {
    }

    public Worker(Integer workerId, String role, String username, String password, String name, String gender, String phone, String address, Date createTime, Integer workId, Integer roomInfoId) {
        this.workerId = workerId;
        this.role = role;
        this.username = username;
        this.password = password;
        this.name = name;
        this.gender = gender;
        this.phone = phone;
        this.address = address;
        this.createTime = createTime;
        this.workId = workId;
        this.roomInfoId = roomInfoId;
    }

    /**
     * 获取
     * @return workerId
     */
    public Integer getWorkerId() {
        return workerId;
    }

    /**
     * 设置
     * @param workerId
     */
    public void setWorkerId(Integer workerId) {
        this.workerId = workerId;
    }

    /**
     * 获取
     * @return role
     */
    public String getRole() {
        return role;
    }

    /**
     * 设置
     * @param role
     */
    public void setRole(String role) {
        this.role = role;
    }

    /**
     * 获取
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return gender
     */
    public String getGender() {
        return gender;
    }

    /**
     * 设置
     * @param gender
     */
    public void setGender(String gender) {
        this.gender = gender;
    }

    /**
     * 获取
     * @return phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 设置
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * 获取
     * @return address
     */
    public String getAddress() {
        return address;
    }

    /**
     * 设置
     * @param address
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 获取
     * @return createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return workId
     */
    public Integer getWorkId() {
        return workId;
    }

    /**
     * 设置
     * @param workId
     */
    public void setWorkId(Integer workId) {
        this.workId = workId;
    }

    /**
     * 获取
     * @return roomInfoId
     */
    public Integer getRoomInfoId() {
        return roomInfoId;
    }

    /**
     * 设置
     * @param roomInfoId
     */
    public void setRoomInfoId(Integer roomInfoId) {
        this.roomInfoId = roomInfoId;
    }

    public String toString() {
        return "Worker{workerId = " + workerId + ", role = " + role + ", username = " + username + ", password = " + password + ", name = " + name + ", gender = " + gender + ", phone = " + phone + ", address = " + address + ", createTime = " + createTime + ", workId = " + workId + ", roomInfoId = " + roomInfoId + "}";
    }
}
